import request from '@/utils/request'

// 查询用户评价列表
export function listReview(query) {
  return request({
    url: '/feedback/review/list',
    method: 'get',
    params: query
  })
}

// 查询用户评价详细
export function getReview(id) {
  return request({
    url: '/feedback/review/getById/' + id,
    method: 'get'
  })
}

// 删除用户评价
export function delReview(id) {
  return request({
    url: '/feedback/review/' + id,
    method: 'delete'
  })
}
